﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace AthCommander.Model
{
    public class DriveView
    {
        #region Constructor
        
        public DriveView(DriveInfo info)
        {
            _root = info.RootDirectory.FullName;
            _name = info.Name;
        } 

        #endregion

        #region Fields

        private string _name;
        public string Name
        {
            get
            {
                return _name;
            }
            set
            {
                _name = value;
            }
        }

        private string _root;
        public string Root
        {
            get
            {
                return _root;
            }
            set
            {
                _root = value;
            }
        } 

        #endregion
    }
}
